<template>
  <div class="s-AppRightList">
    <div v-for="d in data" :key="d.id">
      <div class="item">
        <dsfimg :src="d.app_src" :errorSrc="config.setting_img" />
        <div class="right-content">
          <div class="title">
            <span>{{ d.name }}</span>
          </div>
          <div class="introduce">
            <p>
              <span>{{ d.name }}</span>
            </p>
            <p>
              <span>应用来源：</span>
              <span>{{ d.source }}</span>
            </p>
            <p>
              <span>发布时间：</span>
              <span>{{ d.release_time }}</span>
            </p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script setup>
import { inject } from "vue";
const config = inject("config");
defineProps({
  data: {
    type: Array,
    default: () => {
      return [];
    },
  },
});
</script>
